<?php
 
defined("_VALID_ACCESS") || die('Direct access forbidden');
 
class SCTV_MaintenanceDeployment_Recordset extends RBO_Recordset {
 
    function table_name() { // - choose a name for the table that will be stored in EPESI database
 
        return 'SCTV_MaintenanceDeployment';
 
    }
 
    function fields() { // - here you choose the fields to add to the record browser
    	$f=array();
		
 		$maintenance = new RBO_Field_Integer(_M('Maintenance'));
		$f[]=$maintenance;
		 		
		$date = new RBO_Field_Date(_M('Date'));
		$date->set_visible();
		$f[]=$date;
		
		$technical = new RBO_Field_Select(_M('Technical'));
        $technical->from('contact')->fields('last_name','first_name')->set_visible();
		$f[]=$technical;
 
        $description = new RBO_Field_LongText(_M('Description'));
        $description->set_visible();
		$f[]=$description;
 
        return $f; // - remember to return all defined fields 
    }
}
?>